* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

.center {
    @media only screen and (min-width:1180px) {
        width: 1180px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (min-width:740px) and (max-width:1179px) {
        width: 740px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    @media only screen and (max-width:739px) {
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}


body {

    .all {

        // 顶部
        .headerBox {
            // margin-bottom: 23px;
            width: 100%;
            height: 78px;
            background-color: #ffffff;

            border-bottom: 2px solid #f2f2f2;

            position: sticky;
            top: 0;
            z-index: 10;

            .header {
                height: 78px;
                background-color: #ffffff;

                display: flex;
                flex-wrap: nowrap;

                .headerLeft {

                    display: flex;
                    flex-wrap: nowrap;
                    margin-right: auto;

                    &>:nth-child(1) {
                        width: 222px;
                        height: 78px;
                        background: url(../images/logo.png) no-repeat center center;
                        background-size: cover;
                    }

                    &>:nth-child(-n+4):not(:nth-child(1)) {

                        white-space: nowrap;
                        margin-left: 50px;
                        height: 78px;
                        line-height: 78px;
                        font-size: 18px;
                        color: #222222;
                    }

                    &>:nth-child(3) {
                        padding-right: 28px;

                        position: relative;

                        &>a {
                            position: relative;
                            color: #222222;
                        }

                        &>a::after {
                            content: '';
                            display: block;
                            border: 8px solid transparent;
                            border-top-color: #222222;

                            position: absolute;
                            top: 10px;
                            right: -28px;
                        }

                        &:hover {
                            .sub_menu {
                                display: block;
                            }
                        }

                        .sub_menu {
                            position: absolute;
                            top: 70px;
                            left: -50px;
                            z-index: 10;

                            // box-sizing: border-box;
                            width: 400px;
                            height: 320px !important;
                            border: 1px solid #f7f7f7;
                            background-color: #ffffff;

                            // &>::after {
                            //     content: '';
                            //     display: block;
                            //     border: 8px solid transparent;
                            //     border-bottom-color: #ffffff;

                            //     position: absolute;
                            //     top: -16px;
                            //     right: 290px;
                            // }

                            display: none;


                            a {
                                display: block;
                                float: left;
                                box-sizing: border-box;
                                padding: 10px;
                                width: 40%;
                                color: #222222;
                                line-height: 30px;
                                text-align: center;

                                &:hover {
                                    color: orange;
                                }
                            }
                        }
                    }

                }

                .headerRight {

                    display: flex;
                    align-items: center;
                    margin-right: 10px;

                    .userPhone{
                        display: none;
                        width: 34px;
                        height: 34px;
                        border-radius: 50%;
                        background: url(../images/default.png) no-repeat center center;
                        background-size: cover;
                    }

                    button {
                        margin-left: 12px;
                        width: 90px;
                        height: 40px;
                        font-size: 17px;
                        border: none;
                        border-radius: 2px;
                        cursor: pointer;

                        &:nth-child(1) {
                            display: block;
                            background-color: #ededed;
                        }

                        &:nth-child(2) {
                            display: block;
                            color: #fff;
                            background-color: #c0a75e;
                        }

                        &:nth-child(3) {
                            display: none;
                        }
                    }


                }
            }
        }


        // banner区
        .bannerBox {

            width: 100%;
            height: 640px;

            position: relative;

            .swiper {

                position: absolute;
                top: 0;
                left: 0;
                z-index: -1;

                width: 100%;
                height: 100%;

                .swiper-wrapper {

                    width: 100%;
                    height: 100%;

                    .swiper-slide {
                        width: 100%;
                        height: 100%;
                    }

                    div:nth-of-type(1) {
                        background: url(https://muse.huaban.com/assets/38cc865b97ed4c0270dbb92c3449ced2.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(2) {
                        background: url(https://muse.huaban.com/assets/18926c8dfd3fa4b394f99c0c8e4002be.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(3) {
                        background: url(https://muse.huaban.com/assets/e15cd7b21c9755820f0243c2743154d3.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(4) {
                        background: url(https://muse.huaban.com/assets/145f141678b7f0c514268472b1a99d68.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(5) {
                        background: url(https://muse.huaban.com/assets/80fb09762c5334606c6c1d4c36947fe1.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(6) {
                        background: url(https://muse.huaban.com/assets/38cc865b97ed4c0270dbb92c3449ced2.jpg) no-repeat center center;
                        background-position: cover;
                    }

                    div:nth-of-type(7) {
                        background: url(https://muse.huaban.com/assets/18926c8dfd3fa4b394f99c0c8e4002be.jpg) no-repeat center center;
                        background-position: cover;
                    }
                }
            }

            .bannerContent {

                height: 100%;

                display: flex;
                flex-direction: column;
                justify-content: center;

                font-size: 50px;
                font-weight: 100;
                letter-spacing: 2px;
                color: #ffffff;

                p {
                    span {
                        font-weight: bold;
                    }
                }

                .divideLine {

                    margin: 15px 0;

                    width: 218px;
                    height: 2px;
                    background-color: #ffffff;
                }

                .btnBox {

                    margin-top: 15px;

                    a {
                        padding: 8px 24px;
                        font-size: 19px;
                        color: #ffffff;
                        border: 1px solid #ffffff;
                        border-radius: 4px;

                        &:nth-of-type(1) {
                            background-color: #c0a75e;

                            &:hover {
                                background-color: #e5bb3f;
                            }
                        }
                    }
                }
            }
        }


        // 优点
        .advantagesBox {

            padding: 60px 0 120px 0;

            .advantages {

                display: flex;
                flex-direction: column;
                align-items: center;

                &>p {
                    margin-bottom: 30px;
                    font-size: 25px;
                    font-weight: 100;
                }

                .fourAds {
                    display: flex;

                    .ad {
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        padding: 0 10px;

                        &>img {
                            width: 150px;
                            height: 150px;
                        }

                        label {
                            margin-top: 15px;
                        }

                        p {
                            margin-top: 20px;
                            line-height: 30px;
                            font-size: 14px;
                            text-align: center;
                            color: #999999;
                        }
                    }
                }

            }
        }


        // 分类
        .categoryBox {

            width: 100%;
            height: 740px;
            background-color: #f7f7f7;

            .category {
                padding: 70px 0 0 0;
                height: 740px;
                // background-color: #f7f7f7;

                display: flex;
                flex-direction: column;
                align-items: center;

                h4 {
                    font-size: 26px;
                    letter-spacing: 2px;
                    font-weight: 100;
                }

                .divideLine {

                    margin: 30px 320px;

                    width: 100px;
                    height: 1px;
                    background-color: #c0a75e;
                }

                .showCase {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-evenly;

                    a {
                        box-sizing: border-box;
                        margin: 0 0px 4px 0px;
                        padding: 20px;
                        font-size: 14px;
                        letter-spacing: 4px;
                        color: #555555;
                        background-color: #ffffff;
                        transition: 0.5s;

                        width: calc(16.666% - 3px);

                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        i {
                            font-size: 70px;
                            font-weight: 100;
                        }

                        label {
                            margin-top: 28px;
                        }
                    }

                    a:hover {
                        transform: scale(1.05);
                        box-shadow: 0 2px 4px 2px #f7f7f7, 0 -2px 4px 2px #f7f7f7, 2px 0 4px 2px #f7f7f7, -2px 0 4px 2px #f7f7f7;
                    }
                }

                p {
                    margin: 40px 0 20px 0;
                    font-size: 18px;
                    letter-spacing: 2px;
                    color: #999999;
                }

                .solve {
                    display: flex;

                    a {
                        margin-right: 20px;
                        padding: 8px 24px;
                        width: 96px;
                        text-align: center;
                        font-size: 16px;
                        color: #222222;
                        border: 1px solid #222222;

                        &:hover {
                            color: #ffffff;
                            background-color: #222222;
                        }
                    }
                }
            }
        }


        // 联合合作
        .uniteBox {

            width: 100%;
            background-color: #f7f7f7;

            .unite {
                padding: 0px 0 40px 0;

                display: flex;
                flex-direction: column;
                align-items: center;

                h4 {
                    margin-bottom: 80px;
                    width: 100%;
                    font-size: 26px;
                    font-weight: 100;
                    letter-spacing: 2px;
                    text-align: center;
                    position: relative;

                    &::before {
                        content: '';
                        display: block;
                        width: 124px;
                        height: 0.5px;
                        background-color: #222222;

                        position: absolute;
                        top: 50%;
                        left: 0;
                        transform: translateY(-50%);
                    }

                    &::after {
                        content: '';
                        display: block;
                        width: 124px;
                        height: 0.5px;
                        background-color: #222222;

                        position: absolute;
                        top: 50%;
                        right: 0;
                        transform: translateY(-50%);
                    }
                }

                .uniteItem {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;

                    a {
                        box-sizing: border-box;
                        padding: 30px 20px 40px 20px;
                        width: 32%;

                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        background-color: #ffffff;
                        transition: 0.5s;

                        img {
                            margin-bottom: 22px;
                        }

                        label {
                            margin-bottom: 14px;
                            font-size: 20px;
                            color: #c0a75e;
                        }

                        p {
                            margin-bottom: 14px;
                            color: #999999;
                        }

                        .divideLine {
                            margin-bottom: 14px;
                            width: 50px;
                            height: 1px;
                            background-color: #c0a75e;
                        }

                        &:hover {
                            transform: translateY(-3px) scale(1.01);
                            box-shadow: 0 2px 4px 2px #f8f8f8, 0 -2px 4px 2px #f8f8f8, 2px 0 4px 2px #f8f8f8, -2px 0 4px 2px #f8f8f8;
                        }
                    }
                }

                .text {
                    margin-top: 40px;
                    font-size: 18px;
                    color: #999999;

                    span {
                        a {
                            color: #222222;
                        }
                    }
                }
            }

        }


        // 设计师
        .designerBox {

            width: 100%;
            background-color: #ffffff;

            .designer {

                padding: 70px 0 60px 0;

                h4 {
                    margin-bottom: 14px;
                    width: 100%;
                    font-size: 26px;
                    font-weight: 100;
                    letter-spacing: 2px;
                    text-align: center;
                }

                .divideLine {

                    margin: 30px auto;

                    width: 124px;
                    height: 1px;
                    background-color: #c0a75e;
                }

                .introduce {
                    width: 100%;
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;

                    .user {
                        width: calc(50% - 10px);

                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        &>a {
                            padding-right: 30%;
                            background-color: #f3f3f3;

                            img {
                                display: block;
                                width: 280px;
                                height: 360px;
                            }
                        }

                        .detailsInfo {

                            height: 360px;

                            .info {
                                display: flex;
                                flex-direction: column;
                                white-space: nowrap;

                                .eText {
                                    font-size: 60px;
                                    letter-spacing: 2px;
                                    color: #f3f3f3;
                                }

                                .cText {
                                    margin: -44px 0 14px 0;
                                    color: #c0a75e;
                                }

                                a {
                                    margin-bottom: 10px;
                                    padding: 0 0 20px 28px;
                                    font-size: 34px;
                                    color: #222222;
                                }
                            }

                            .description {
                                margin-left: -150px;
                                line-height: 20px;
                                font-size: 14px;
                                color: #9d9d9d;
                            }
                        }
                    }

                    .left {
                        margin-right: 20px;

                        .detailsInfo {
                            text-align: right;
                        }
                    }

                    .right {
                        position: relative;
                        z-index: 3;

                        margin-top: 200px;

                        background-color: #ffffff;

                        &>a {
                            padding-right: 0;
                            padding-left: 30%;
                        }

                        .detailsInfo {
                            text-align: left;

                            .info {
                                a {
                                    padding: 0 28px 20px 0;
                                }
                            }

                            .description {
                                margin-left: 0;
                                margin-right: -150px;
                                line-height: 30px;
                                color: #9d9d9d;

                                position: relative;
                                z-index: 1;
                            }
                        }
                    }

                    &>:nth-child(3) {
                        margin-top: -40px;
                    }
                }
            }
        }



        // 成功案例
        .caseBox {

            width: 100%;
            background-color: #f7f7f7;

            .case {

                padding-top: 70px;

                h4 {
                    margin-bottom: 14px;
                    width: 100%;
                    font-size: 26px;
                    font-weight: 100;
                    letter-spacing: 2px;
                    text-align: center;
                }

                .divideLine {

                    margin: 30px auto;

                    width: 124px;
                    height: 1px;
                    background-color: #c0a75e;
                }

                .swiperCase {

                    width: 100%;
                    overflow: hidden;

                    .swiper-wrapper {

                        width: 100%;

                        .swiper-slide {

                            display: flex;
                            justify-content: space-evenly;

                            a {
                                width: 32%;
                                background-color: #ffffff;

                                display: flex;
                                flex-direction: column;
                                align-items: center;

                                .cover {
                                    img {
                                        display: block;
                                        width: 100%;
                                    }
                                }

                                .content {
                                    padding: 24px 0 40px 0;

                                    .title {

                                        p {
                                            font-size: 18px;
                                            letter-spacing: 0px;
                                            font-weight: bold;
                                            text-align: center;
                                            color: #222222;
                                        }

                                        .divideLine {
                                            width: 50px;
                                            height: 1px;
                                            background-color: #c0a75e;
                                        }
                                    }

                                    .extra {

                                        font-size: 15px;
                                        color: #999999;
                                        text-align: center;

                                        span {
                                            margin: 0 5px;
                                        }
                                    }

                                    .user {
                                        margin-top: 10px;
                                        color: #c0a75e;
                                        text-align: center;
                                    }
                                }
                            }
                        }
                    }

                    .swiperCase-pagination {
                        margin: 20px 0;
                        text-align: center;

                        span {
                            width: 20px;
                            height: 20px;
                        }
                    }
                }
            }
        }



        // 寻找合适的设计师
        .seekBox {


            width: 100%;

            .seek {

                padding: 70px 0 100px 0;

                h4 {
                    margin-bottom: 14px;
                    width: 100%;
                    font-size: 26px;
                    font-weight: 100;
                    letter-spacing: 2px;
                    text-align: center;
                }

                .divideLine {

                    margin: 30px auto;

                    width: 124px;
                    height: 1px;
                    background-color: #c0a75e;
                }

                .blocks {

                    width: 100%;

                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-evenly;

                    a {
                        box-sizing: border-box;
                        margin: 0 1px 2px 1px;
                        padding: 24px 50px;
                        width: 16.2%;
                        font-size: 15px;
                        color: #555555;
                        text-align: center;
                        background-color: #f8f8f8;

                        &:hover {
                            transform: scale(1.0005);
                            box-shadow: 0 2px 4px 2px #f9f9f9, 0 -2px 4px 2px #f9f9f9, 2px 0 4px 2px #f9f9f9, -2px 0 4px 2px #f9f9f9;
                        }
                    }
                }
            }
        }



        // 服务过的大平台
        .cooperationBox {

            width: 100%;
            background-color: #f7f7f7;

            .cooperation {

                padding: 70px 0 0 0;

                h4 {
                    margin-bottom: 14px;
                    width: 100%;
                    font-size: 26px;
                    font-weight: 100;
                    letter-spacing: 2px;
                    text-align: center;
                }

                .divideLine {

                    margin: 30px auto;

                    width: 124px;
                    height: 1px;
                    background-color: #c0a75e;
                }

                .brands {

                    width: 100%;

                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-evenly;

                    a {
                        box-sizing: border-box;
                        margin: 0 1px 2px 1px;
                        padding: 24px 50px;
                        width: 16.2%;
                        font-size: 15px;
                        font-weight: 600;
                        color: #808895;
                        text-align: center;
                        background-color: #f8f8f8;

                        &:hover {
                            transform: scale(1.05);
                            box-shadow: 0 2px 4px 2px #f9f9f9, 0 -2px 4px 2px #f9f9f9, 2px 0 4px 2px #f9f9f9, -2px 0 4px 2px #f9f9f9;
                        }
                    }
                }
            }
        }



        // 底部
        .footerBox {
            margin-top: 20px;
            width: 100%;
            background-color: #333333;

            .footer {
                // margin-top: 20px;
                box-sizing: border-box;
                height: 336px;
                background-color: #333333;

                display: flex;
                flex-direction: column;
                justify-content: center;

                h2 {
                    margin-bottom: 26px;
                    color: #999999;
                }

                .four_column_row {
                    display: flex;

                    .column {
                        flex: 1;

                        .title {
                            color: #999999;
                        }

                        .link_list {
                            margin-top: 26px;
                            line-height: 36px;

                            display: flex;
                            flex-direction: column;

                            a {
                                font-size: 15px;
                                color: #dddddd;
                            }
                        }
                    }
                }
            }
        }
    }
}